package com.facebookapp.framework;

public class PermissionBuilder {
	static String[] permissions = new String[]{"user_location",
	"friends_location", 
	"publish_actions",
	"publish_stream",
	"status_update",
	"read_friendlists",
	"manage_pages"};
	
	public static String getPermissions(){
		StringBuilder permissionBuilder = new StringBuilder();
		for(int i=0; i<permissions.length;i++){
			String permission = permissions[i];
			permissionBuilder.append(permission);
			
			if(i != permissions.length - 1)
				permissionBuilder.append(",");
		}
		
		return permissionBuilder.toString();
	}
}
